package com.lagou.annotation;

import java.lang.annotation.*;

/**
 * @author zjy
 * @date: 2020/3/7 2:10 下午
 */
@Target({ElementType.TYPE, ElementType.METHOD})
@Retention(RetentionPolicy.RUNTIME)
@Inherited
@Documented
public @interface MyTransactional {

    Class<? extends Throwable>[] rollbackFor() default {};
}
